<%@ attribute name="menus" required="true" type="java.lang.Object" %>
<%@ attribute name="context" required="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div id="sidebar">
	<h3>Administration</h3>
	<div id="admin-menu">
		<ul>
			<ul>
				<c:forEach var="link" items="${menus}">
					<li><a href="${context}${link.url}" class="${link.style}">${link.label}</a></li>
				</c:forEach>			
			</ul>
		</ul>
	</div>
</div>